package cn.pw.test.com.news;

import android.os.Bundle;
import android.support.v4.app.Fragment;

import cn.pw.test.com.news.fragment.CalendarFragment;
import cn.pw.test.com.news.fragment.NewsShelfFragment;
import tech.com.commoncore.basecomponent.service.IZiXunService;

public class NewsService implements IZiXunService {

    @Override
    public Fragment newArticalFragment(Bundle bundle) {
        return null;
    }

    @Override
    public Fragment newFlashFragment(Bundle bundle) {
        return null;
    }

    @Override
    public Fragment newVedioFragment(Bundle bundle) {
        return null;
    }

    @Override
    public Fragment newCalendarFragment(Bundle bundle) {
        return CalendarFragment.newInstance();
    }

    @Override
    public Fragment newZixunPort(Bundle bundle) {
        return NewsShelfFragment.newInstance();
    }

    @Override
    public Fragment newZiXunFragment(Bundle bundle) {
        return null;
    }

    @Override
    public Fragment newGanTou(Bundle bundle) {
        return null;
    }
}
